<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta charset="utf-8" />
    <title>Geogebra 工具</title>
    <script src="public/geogebra/deployggb.js"></script>
    <link rel="stylesheet" href="public/css/style.css">
    <link rel="stylesheet" href="public/css/font-awesome.min.css">
    <link rel="stylesheet" href="public/css/renderer.css">
</head>

<body>
    <header class="header">
        <h1>Geogebra 工具</h1>
        <button id="uploadButton" class="upload-btn">
            <i class="fas fa-upload"></i> 上传文件
        </button>
    </header>

    <div class="main-content-area">
        <div class="ggb-container">
            <div id="ggbApplet"></div>
        </div>
    </div>

    <div class="fab-container">
        <div id="fileListPanel" class="file-list-panel">
            <h4 id="fileListTitle">文件列表</h4>
            <ul id="fileList">
                <li class="loading">加载中...</li>
            </ul>
        </div>
        <button id="fab" class="fab">☰</button>
    </div>

    <script src="./renderer.js"></script>
</body>
</html>
